LayoutViewport

data class LayoutViewport(pageX: Int, pageY: Int, clientWidth: Int, clientHeight: Int)

Layout viewport position and dimensions.

Constructors

LayoutViewport
Link copied to clipboard
fun LayoutViewport(pageX: Int, pageY: Int, clientWidth: Int, clientHeight: Int)

Properties

clientHeight
Link copied to clipboard
val clientHeight: Int
Height (CSS pixels), excludes scrollbar if present.
clientWidth
Link copied to clipboard
val clientWidth: Int
Width (CSS pixels), excludes scrollbar if present.
pageX
Link copied to clipboard
val pageX: Int
Horizontal offset relative to the document (CSS pixels).
pageY
Link copied to clipboard
val pageY: Int
Vertical offset relative to the document (CSS pixels).

Sources

jvm source
Link copied to clipboard